package com.jlnx.pojo;

import java.util.List;

public class SupplyChain {

	private int id;//供应链ID
	private String message;//供应链信息
	private String core;//核心企业no
	private List<SupplyChainEnterprise> ls = null;//链条上的企业信息
	
	
	@Override
	public String toString() {
		return "SupplyChain [id=" + id + ", message=" + message + ", core=" + core + ", ls=" + ls + "]";
	}
	
	public SupplyChain(int id, String message, String core) {
		super();
		this.id = id;
		this.message = message;
		this.core = core;
	}

	public SupplyChain(int id, String message, String core, List<SupplyChainEnterprise> ls) {
		super();
		this.id = id;
		this.message = message;
		this.core = core;
		this.ls = ls;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public String getCore() {
		return core;
	}
	public void setCore(String core) {
		this.core = core;
	}
	public List<SupplyChainEnterprise> getLs() {
		return ls;
	}
	public void setLs(List<SupplyChainEnterprise> ls) {
		this.ls = ls;
	}
	
	
	
	
	
	
}
